﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace IDAL
{
   public interface IFlowersDal
    {
        /// <summary>
        /// 花卉显示
        /// </summary>
        /// <returns></returns>
       List<FlowersModel> FlowersShow();

       /// <summary>
       /// 花卉查询
       /// </summary>
       /// <returns></returns>
       List<FlowersModel> Flowerschaxun(string FlowersName);
       /// <summary>
       /// 反填
       /// </summary>
       /// <param name="FlowersName"></param>
       /// <returns></returns>
       FlowersModel Flowersfantian(int FlowersID);

       /// <summary>
       /// 编辑
       /// </summary>
       /// <param name="m"></param>
       /// <returns></returns>
       int Flowersbianji(FlowersModel m);

        /// <summary>
        /// 修改花卉状态
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int FlowersUpt(int id);

        /// <summary>
        /// 修改花卉状态
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int FlowersDel(int id);
       
    }
}
